package com.legrand.core.permission;

import java.lang.annotation.*;

/**
 * @author xiah
 * 2018-06-26 05:42:14
 * 切面权限认证   用来细分controller访问权限
 */
@Documented
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RolePermission {

    String[] roles();

    String note() default "";
}
